Skip to content

Conversation

@martin-cs
Copy link
Collaborator

Another PR from the variable-sensitivity-domain branch. A few minor additions to core things in util/. I have kept the old commit messages to preserve authorship but TBH they should probably be reworded at least.

  • Each commit message has a non-empty body, explaining why the change was made.
  • Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • White-space or formatting changes outside the feature-related changed lines are in commits of their own.

out << symbols.at(name);
}

symbol_table_baset::const_iteratort symbol_table_baset::end() const
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message doesn't match content

#endif

#ifndef USE_STRING
#ifndef USE_STD_STRING
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make commit message title more precise.
"various things": there's only one thing in this commit.

@martin-cs
Copy link
Collaborator Author

@peterschrammel Sorry about the commit messages, I kept them from splitting up VSD. First I wanted to get the code right, then the meta-data. If you prefer I will squash everything and write meaningful commit messages first.

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️
Passed Diffblue compatibility checks (cbmc commit: 5db9d83).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/140335402

martin added 2 commits December 12, 2019 12:58
This don't show up on travis because the unit tests are currently
not being built on Travis if USE_STD_STRING is set.  Originally by
Hannes Steffenhagen.
Patch originally by Chris Ryder.
@martin-cs
Copy link
Collaborator Author

@peterschrammel I have re-written the commit messages.

@codecov-io
Copy link

codecov-io commented Dec 12, 2019

Codecov Report

Merging #5205 into develop will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #5205      +/-   ##
===========================================
- Coverage    67.36%   67.36%   -0.01%     
===========================================
  Files         1157     1157              
  Lines        95051    95055       +4     
===========================================
  Hits         64032    64032              
- Misses       31019    31023       +4
Flag Coverage Δ
#cproversmt2 42.63% <0%> (-0.01%) ⬇️
#regression 63.87% <0%> (-0.01%) ⬇️
#unit 31.92% <0%> (-0.01%) ⬇️
Impacted Files Coverage Δ
src/util/symbol_table_base.h 88.46% <ø> (ø) ⬆️
src/util/symbol_table_base.cpp 54.16% <0%> (-10.84%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e95689...0e3195c. Read the comment docs.

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️
Passed Diffblue compatibility checks (cbmc commit: 0e3195c).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/140805372

out << symbols.at(name);
}

symbol_table_baset::const_iteratort symbol_table_baset::end() const

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not sure this change is even necessary; Develop symbol_table_baset already seems to have begin()/end().

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has a non-const version - this adds a const version

Copy link
Contributor

@thk123 thk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit messages have been tidied up

@thk123 thk123 mentioned this pull request Jun 5, 2020
5 tasks
@thk123
Copy link
Contributor

thk123 commented Jun 19, 2020

Brought in via #5375

@thk123 thk123 closed this Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants